package com.haiqi.common.persistence.entity;

import java.util.Date;

public class AisShipDyna {
    private String shipid;

    private String course;

    private String heading;

    private String lat;

    private String lon;

    private String mmsi;

    private String period;

    private String posstate;

    private Date postime;

    private String shipstatus;

    private String speed;

    private Integer postype;

    private Date utc;

    private String turnrate;

    private String source;

    private Object geom;

    private Object geog;

    public String getShipid() {
        return shipid;
    }

    public void setShipid(String shipid) {
        this.shipid = shipid == null ? null : shipid.trim();
    }

    public String getCourse() {
        return course;
    }

    public void setCourse(String course) {
        this.course = course == null ? null : course.trim();
    }

    public String getHeading() {
        return heading;
    }

    public void setHeading(String heading) {
        this.heading = heading == null ? null : heading.trim();
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat == null ? null : lat.trim();
    }

    public String getLon() {
        return lon;
    }

    public void setLon(String lon) {
        this.lon = lon == null ? null : lon.trim();
    }

    public String getMmsi() {
        return mmsi;
    }

    public void setMmsi(String mmsi) {
        this.mmsi = mmsi == null ? null : mmsi.trim();
    }

    public String getPeriod() {
        return period;
    }

    public void setPeriod(String period) {
        this.period = period == null ? null : period.trim();
    }

    public String getPosstate() {
        return posstate;
    }

    public void setPosstate(String posstate) {
        this.posstate = posstate == null ? null : posstate.trim();
    }

    public Date getPostime() {
        return postime;
    }

    public void setPostime(Date postime) {
        this.postime = postime;
    }

    public String getShipstatus() {
        return shipstatus;
    }

    public void setShipstatus(String shipstatus) {
        this.shipstatus = shipstatus == null ? null : shipstatus.trim();
    }

    public String getSpeed() {
        return speed;
    }

    public void setSpeed(String speed) {
        this.speed = speed == null ? null : speed.trim();
    }

    public Integer getPostype() {
        return postype;
    }

    public void setPostype(Integer postype) {
        this.postype = postype;
    }

    public Date getUtc() {
        return utc;
    }

    public void setUtc(Date utc) {
        this.utc = utc;
    }

    public String getTurnrate() {
        return turnrate;
    }

    public void setTurnrate(String turnrate) {
        this.turnrate = turnrate == null ? null : turnrate.trim();
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source == null ? null : source.trim();
    }

    public Object getGeom() {
        return geom;
    }

    public void setGeom(Object geom) {
        this.geom = geom;
    }

    public Object getGeog() {
        return geog;
    }

    public void setGeog(Object geog) {
        this.geog = geog;
    }

    @Override
    public String toString() {
        return "AisShipDyna{" +
                "shipid='" + shipid + '\'' +
                ", course='" + course + '\'' +
                ", heading='" + heading + '\'' +
                ", lat='" + lat + '\'' +
                ", lon='" + lon + '\'' +
                ", mmsi='" + mmsi + '\'' +
                ", period='" + period + '\'' +
                ", posstate='" + posstate + '\'' +
                ", postime=" + postime +
                ", shipstatus='" + shipstatus + '\'' +
                ", speed='" + speed + '\'' +
                ", postype=" + postype +
                ", utc=" + utc +
                ", turnrate='" + turnrate + '\'' +
                ", source='" + source + '\'' +
                ", geom=" + geom +
                ", geog=" + geog +
                '}';
    }
}